package com.by.mapper;

import com.by.bean.Product;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Ye QS
 * @version 0.1
 * @className ProductMapper
 * @description
 * @date 2024/9/14 19:31
 * @since jdk11
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 查询所有
     * @return
     */
    List<Product> queryAll();

    List<Map> queryCust(Map map);
}
